package com.example.websocket.dao;

import com.example.websocket.entity.User;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    User selectByUsername(String username);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> recommendUser();

    List<User> getApplyUserList(int id);

    List<User> getMyApplyUserList(int id);
}